using UnityEngine;
using System.Collections;

public class Point
{
	public int x = 0;
	public int y = 0;
	
	public Point(int x, int y)
	{
		this.x = x;
		this.y = y;
	}
	
	public int distanceSquared(Point other)
	{
		return (this.x - other.x)*(this.x-other.x)+(this.y-other.y)*(this.y-other.y);     
	}
}